package com.jvm;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: tgy
 * @Date: 2020-11-17 11:09
 */
public class HeapDemo02 {

    private static List<byte[]> c;
    public static void main(String[] args) {


        c = new ArrayList<>();

        for (int i = 0; i < 1000000; i++) {

            byte[] bytes = new byte[1024];
            c.add(bytes);
        }


    }
}
